<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<title>查看</title>

<div class="panel">
      <div class="panel-heading">
		<h4>查看教师信息</h4>
		<ul class="links">
			<li class="fa fa-table"></li>
		</ul>
	</div>
      <div class="panel-body">
        <div class="table-responsive">
			<table class="table table-bordered table-hover">
				<tr>
					<td>姓名</td>
					<td>${teacher.name }</td>
				</tr>
				<tr>
					<td>性别</td>
					<td>${teacher.gender.text}</td>
				</tr>
				<tr>
					<td>生日</td>
					<td>${teacher.age}</td>
				</tr>
				<tr>
					<td colspan="2">
						<a class="btn btn-info" href="${ctx}/teachers">返回</a>
					</td>
				</tr>
			</table>
    	</div>
  	</div>
</div>
			